package com.blb.service.impl;

import com.blb.entity.Company;
import com.blb.mapper.CompanyMapper;
import com.blb.service.ICompanyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-15
 */
@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> implements ICompanyService {


    @Resource
    private  CompanyMapper companyMapper;


    @Override
    public Company getCompanyByCompanyName(String companyName) {
        return companyMapper.getCompanyByCompanyName(companyName);
    }
}
